<div class="pageContent">
	<form method="post" action="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/add','','')}/callbackType/closeCurrent/navTabId/accountList" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="55">
		<div class="nowrap">
		</div>
		<div class="divider"></div>
			<table class="list" width="100%">
				<thead>
					<tr>
						<th colspan="7">统计报表</th>
					</tr>
					<tr>
						<th>类型</th>
						<th>出库</th>
						<th>入库</th>
						<th>调拨</th>
						<th>退货</th>
						<th>损溢</th>
						<th>备注</th>
					</tr>
				</thead>
				<tbody style="align:center;">
					<tr>
						<td align="center">总数量</td>
						<td align="center">{$count['export'][0]}</td>
						<td align="center">{$count['storage'][0]}</td>
						<td align="center">{$count['allot'][0]}</td>
						<td align="center">{$count['refund'][0]}</td>
						<td align="center">{$count['loss'][0]}</td>
						<td align="center"></td>
					</tr>
					<tr>
						<td align="center">已审核</td>
						<td align="center">{$count['export'][0]-$count['export'][1]}</td>
						<td align="center">{$count['storage'][0]-$count['storage'][1]}</td>
						<td align="center">{$count['allot'][0]-$count['allot'][1]}</td>
						<td align="center">{$count['refund'][0]-$count['refund'][1]}</td>
						<td align="center">{$count['loss'][0]-$count['loss'][1]}</td>
						<td align="center"></td>
					</tr>
					<tr>
						<td align="center">未审核</td>
						<td align="center">{$count['export'][1]}</td>
						<td align="center">{$count['storage'][1]}</td>
						<td align="center">{$count['allot'][1]}</td>
						<td align="center">{$count['refund'][1]}</td>
						<td align="center">{$count['loss'][1]}</td>
						<td align="center"></td>
					</tr>
				</tbody>
			</table>
		</div>
		
		<div class="formBar">
			<ul>
				<eq name="commit" value="0">
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<else/>
					<li><div class="buttonDisabled"><span color="red">请确认所有单据均已审核完毕！</span></div></li>
				</eq>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
